package com.htj.powerbank.service.impl;

import com.htj.powerbank.entity.User_pm;
import com.htj.powerbank.mapper.User_pmMapper;
import com.htj.powerbank.service.User_pmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class User_pmServiceImpl implements User_pmService {

    @Autowired
    User_pmMapper user_pmMapper;

//    @Override
//    public List<User_pm> getUser_pmById(Integer id) {
//        return user_pmMapper.selectUser_pmById(id);
//    }

    @Override
    public List<User_pm> getUser_pm() {
        return user_pmMapper.selectUser_pm();
    }
}
